/*
 * Copyright (c) 2001, 2002 Boris Pruessmann and others. All rights reserved.
 * This program and the accompanying materials are made available under the
 * terms of the Common Public License v0.5 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors: Boris Pruessmann - Initial implementation.
 */
package net.sourceforge.perforce.core.api;

import net.sourceforge.perforce.api.internal.Spec;
import net.sourceforge.perforce.api.internal.SpecData;

/**
 * This interface describes the result of a 'p4 change' command.
 * 
 * @version $Revision: 488 $
 * @author <a href="mailto:bpruessmann@users.sourceforge.net">Boris
 *         Pruessmann</a>
 */
public interface IChangeResult {
  //----------------------------------------------------------------------------
  // --------- Methods

  /**
   * Returns the definition of the change spec.
   * 
   * @return the changespec definition.
   */
  Spec getChangeSpecDefinition();

  /**
   * Returns the data of the change spec.
   * 
   * @return the changespec data.
   */
  SpecData getChangeSpecData();
}
